import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/store'
import  './assets/initial.css'
import './registerServiceWorker'
import 'lib-flexible'
// import animated from 'animate.css'

// Vue.use(animated)
Vue.use(VueLazyload, {
    preLoad: 1.3,
    loading: "http://img.zcool.cn/community/01b45055fb79c06ac7251df8689b33.gif",
    // error: 'images/117953613338842183.png',
    // loading:require('@/assets/5-160914192R0-50.gif'),

    attempt: 1,
    listenEvents:['scroll','wheel','mousewheel','resize','animationend','transitionend','touchmove'], //你想让vue监听的事件
})
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload);
Vue.config.productionTip = false;







new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
